package dhm.com.hpx.entity;

import java.util.List;

public class FavoriteArticleBean {
    /**
     * code : 1
     * message : 获取成功
     * data : [{"favoriteId":5,"targetId":4,"articleId":4,"articleTitle":"夜读：低情商的5种表现，现在知道还不晚","coverImg":"upload/articles/2021-02/601ca10865b2f_thumb.jpg"},{"favoriteId":4,"targetId":3,"articleId":3,"articleTitle":"夜读：生活，走着走着，就明白了许多","coverImg":"upload/articles/2021-02/601ca03be783e_thumb.jpg"},{"favoriteId":3,"targetId":2,"articleId":2,"articleTitle":"早读：每天，给自己一个快乐的理由","coverImg":"upload/articles/2021-02/601c9f5570f25_thumb.jpg"},{"favoriteId":2,"targetId":1,"articleId":1,"articleTitle":"早读：悟透人生，活得轻松","coverImg":"upload/articles/2021-02/601c9e39db272_thumb.jpg"}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * favoriteId : 5
         * targetId : 4
         * articleId : 4
         * articleTitle : 夜读：低情商的5种表现，现在知道还不晚
         * coverImg : upload/articles/2021-02/601ca10865b2f_thumb.jpg
         */

        private int favoriteId;
        private int targetId;
        private int articleId;
        private int favoriteType;
        private String articleTitle;
        private String coverImg;

        public int getFavoriteType() {
            return favoriteType;
        }

        public void setFavoriteType(int favoriteType) {
            this.favoriteType = favoriteType;
        }

        public int getFavoriteId() {
            return favoriteId;
        }

        public void setFavoriteId(int favoriteId) {
            this.favoriteId = favoriteId;
        }

        public int getTargetId() {
            return targetId;
        }

        public void setTargetId(int targetId) {
            this.targetId = targetId;
        }

        public int getArticleId() {
            return articleId;
        }

        public void setArticleId(int articleId) {
            this.articleId = articleId;
        }

        public String getArticleTitle() {
            return articleTitle;
        }

        public void setArticleTitle(String articleTitle) {
            this.articleTitle = articleTitle;
        }

        public String getCoverImg() {
            return coverImg;
        }

        public void setCoverImg(String coverImg) {
            this.coverImg = coverImg;
        }
    }
}
